<template>
  <div class="bk-btn-box">
    <el-button
      v-for="(ele, ind) in btnConfig"
      :key="ind"
      :size="ele.size || 'small'"
      :type="ele.type || 'primary'"
      :plain="ele.plain || false"
      :round="ele.round || false"
      :circle="ele.circle || false"
      :icon="ele.icon"
      :disabled="ele.disabled||false"
      v-show="ele.show===undefined?true:ele.show"
      v-permission="ele.permissionValue"
      @click="ele.Fn"
      >{{ ele.label }}</el-button>
  </div>
</template>

<script>
export default {
  name: 'BkBtn',
  props: {
    btnConfig: {
      type: Array,
      default: () => [],
    },
  },
  components: {},
  data() {
    return {};
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {},
};
</script>

<style scoped lang='less'>
</style>